package  
{
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	
	/**
	 * ...
	 * @author Joseph Waters
	 */
	public class Menus extends Sprite
	{
		public function Menus(type:String) 
		{
			this.x = 0;
			this.y = 0;
			
			switch(type) {
				case "planet":
					break;
				default:
					break;
			}
		}
		
		public function createMenu(event:MouseEvent):void {
			var newMenu:Sprite = new Sprite();
			
			newMenu.graphics.beginFill(0xDDDDDD); // Start fill
			newMenu.graphics.drawRect(event.localX, event.localY, 100, 150);
			newMenu.graphics.endFill(); // End fill
			this.addChild(newMenu);
		}
		
	}

}